package com.lancoo.ccas52.service.impl;

import cn.hutool.core.collection.CollUtil;
import com.lancoo.ccas52.entity.PlanTeachingCourseSegment;
import com.lancoo.ccas52.mapper.PlanTeachingCourseSegmentMapper;
import com.lancoo.ccas52.service.PlanTeachingCourseSegmentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * 教学计划-课程-环节中间表 服务实现类
 * </p>
 *
 * @author quin.song
 * @since 2022-12-30
 */
@Service
public class PlanTeachingCourseSegmentServiceImpl extends ServiceImpl<PlanTeachingCourseSegmentMapper, PlanTeachingCourseSegment> implements PlanTeachingCourseSegmentService {

    @Resource
    private PlanTeachingCourseSegmentMapper planTeachingCourseSegmentMapper;


//    @Override
//    public List<PlanTeachingCourseSegment> getPlanTeachingCourseSegmentByTeachingPlanIds(List<Long> teachPlanIds){
//        List<PlanTeachingCourseSegment> list = new ArrayList<>();
//        if(CollUtil.isNotEmpty(teachPlanIds)){
//            list = planTeachingCourseSegmentMapper.getByTeachingPlanId(teachPlanIds);
//        }
//        return list;
//    }

}
